25
异步社区会员 /db 冷锋(18823840827) 专享 尊重版权
Be aggressive about documenting contracts (APIs and protocols) and
testing them. Use CI testing on all public contracts. Code coverage is
irrelevant. Code documentation is irrelevant. All that matters is what
contracts the code implements, and how well it does that. 要积极地记录
约定(API 与协议)并加以测试。要使用持续集成工具测试所有的公
开约定。代码覆盖率是无关紧要的,代码文档也是无关紧要的。真正
重要的是代码实现了哪些约定,以及它们是如何实现的。
6.Promote From Within(从内部提拔)
Promote contributors to maintainers, and maintainers to owners. Do
this smoothly, easily, and without fear. Keep final authority to ban bad actors.
Encourage people to start their own projects, especially to build on, or
compete, with existing projects. Remove power from people who are not
earning it on a daily basis.
将贡献者提拔为维护者,将维护者提拔为负责人。以流畅、
轻松且无畏地方式来做。保留干掉‘害群之马’的最终权力。鼓励大家
开始自己的项目,尤其是基于已有项目,或者与已有项目竞争的项
目。每天持之以恒地检视并剥夺那些不再贡献者的权力。
7.Write Down the Rules(将规则写下来)
As you develop your rules, write them down so people can learn them.
Actually, don’t even bother. Just use the C4.1 rules we already designed for
ZeroMQ, and simplify them if you want to.